package cn.lingyangwl.agile.plugin.file.preview.config;

import cn.lingyangwl.framework.tool.core.exception.BaseError;
import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springframework.http.HttpStatus;

/**
 * @author shenguangyang
 */
@AllArgsConstructor
@Getter
public enum FileErrorEnum implements BaseError {
    FILE_NOT_SUPPORTED(HttpStatus.BAD_REQUEST, -1, "不支持的文件类型");
    private final HttpStatus status;
    private final Integer code;
    private final String message;
}
